<ul>
	<li id="search">
		<h2>Search</h2>
		<form method="get" action="">
			<fieldset>
			<input type="text" id="s" name="s" value="" />
			<input type="submit" id="x" value="Search" />
			</fieldset>
		</form>
	</li>
	<!--{if !empty($sidebar_categories)}-->
	<li>
		<h2>Categories</h2>
		<ul>
			<!--{foreach $sidebar_categories as $key => $value}-->
			<li><a href="#"><!--{$value.name}--></a></li>
			<!--{/foreach}-->
		</ul>
	</li>
	<!--{/if}-->
	<!--{if !empty($sidebar_directories)}-->
	<li>
		<h2>Directories</h2>
		<ul>
			<!--{foreach $sidebar_directories as $key => $value}-->
			<li><a href="#"><!--{$value.name}--></a></li>
			<!--{/foreach}-->
		</ul>
	</li>
	<!--{/if}-->
	<!--{if !empty($sidebar_links)}-->
	<li>
		<h2>Related Links</h2>
		<ul>
			<!--{foreach $sidebar_links as $key => $value}-->
			<li><a href="<!--{$value.url}-->" target="_blank"><!--{$value.name}--></a></li>
			<!--{/foreach}-->
		</ul>
	</li>
	<!--{/if}-->
</ul>